package com.demo.steammanagement.model.vo;

import com.demo.steammanagement.common.BaseVO;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
public class RedeemCodeInfoVO extends BaseVO {

	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long id;
	
    /**
     * 兑换码
     */
    private String redeemCode;
    
    /**
     * 角色 1.普通会员, 2.高级会员
     */
    private Integer userRole;
    
    /**
     * 状态 NotRedeemed:未兑换, AlreadyRedeemed:已兑换
     */
    private String status;
    
    /**
     * 有效期(分钟)
     */
    private Long validity;
    
    /**
     * 兑换用户
     */
    private String userName;
    
    /**
     * 生成数量
     */
    private Integer num;
}
